home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / WeaponEarth.dxr / 00012_Spawn Trail.ls < prev    next >
Encoding:
Text File  |  2002-01-25  |  206 b   |  8 lines

  1. on enterFrame me
  2.   global p_SpawnTimer
  3.   spawnrate = 2
  4.   if (p_SpawnTimer mod spawnrate) = 0 then
  5.     addparticle(the loc of sprite sprite(me.spriteNum), sprite(sprite(me.spriteNum)).rotation)
  6.   end if
  7. end
  8.